﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UDDL.Model;

namespace UDDL.CodeGeneration.CPP
{
	class CppProperty : CppItem
	{
		internal CppProperty(CppEntity parent, Property source)
			: base(source)
		{
			Typename = source.Typename;
		}
		public void GenerateCode(CppFile file)
		{
			file.WriteLine("{0} {1};", Typename, Name);
		}
		String Typename;
	}
}
